package com.ytc.pquery.mapper;

import com.ytc.position.model.Position;
import com.ytc.pquery.model.PositionDetails;
import com.ytc.pquery.model.Pquery;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface PqueryMapper {

    List<PositionDetails> positionList(Pquery pquery);

    PositionDetails getPqueryDetails(@Param("positionId") Integer positionId);

    List<PositionDetails> positionLike(@Param("userId")Integer userId);
}
